package com.swyc.osschat.Test.designMode.factory.impl;

import com.swyc.osschat.Test.designMode.factory.base.ACar;
import com.swyc.osschat.Test.designMode.factory.base.BCar;
import com.swyc.osschat.Test.designMode.factory.base.Car;
import com.swyc.osschat.Test.designMode.factory.fac.CarFactory;

/**
 * @description 具体工厂（宝来生产线）：
 * @Author: z156940l@outlook.com
 * @className BoraFactory
 * @Date: 2022/7/25 22:28
 */
public class BoraFactory extends CarFactory {
    //具体工厂继承抽象工厂
    @Override
    public Car getCar() {
        return new Bora();
    }

    @Override
    public ACar createACar() {
        return null;
    }

    @Override
    public BCar createBCar() {
        return null;
    }
}